package com.example.demo;

import lombok.Data;

public class SysRoleDataPermission{

    /** 角色id **/
    private Long roleId;

    /** 机构id **/
    private String orgId;

    /** 机构编码 **/
    private String orgCode;

    /** 机构名称 **/
    private String orgName;

    /** 科室id **/
    private String deptId;

    /** 科室编码 **/
    private String deptCode;

    /** 科室名称 **/
    private String deptName;

    /** 雇员id **/
    private String empId;

    /** 雇员编码 **/
    private String empCode;

    /** 雇员名称 **/
    private String empName;

    /** 数据权限主键id **/
    private Long permissionId;

    /** 是否启用 **/
    private Integer enableStatus;

    /** 排序号 **/
    private Integer sortNo;

    public SysRoleDataPermission() {
    }

    public SysRoleDataPermission(String orgCode) {
        this.orgCode = orgCode;
    }

    public SysRoleDataPermission(String orgCode, String deptCode) {
        this.orgCode = orgCode;
        this.deptCode = deptCode;
    }

    public SysRoleDataPermission(String orgCode, String deptCode, String empCode) {
        this.orgCode = orgCode;
        this.deptCode = deptCode;
        this.empCode = empCode;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getDeptCode() {
        return deptCode;
    }

    public void setDeptCode(String deptCode) {
        this.deptCode = deptCode;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getEmpId() {
        return empId;
    }

    public void setEmpId(String empId) {
        this.empId = empId;
    }

    public String getEmpCode() {
        return empCode;
    }

    public void setEmpCode(String empCode) {
        this.empCode = empCode;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public Long getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(Long permissionId) {
        this.permissionId = permissionId;
    }

    public Integer getEnableStatus() {
        return enableStatus;
    }

    public void setEnableStatus(Integer enableStatus) {
        this.enableStatus = enableStatus;
    }

    public Integer getSortNo() {
        return sortNo;
    }

    public void setSortNo(Integer sortNo) {
        this.sortNo = sortNo;
    }
}
